package com.hexu.event.entity;

public class Attractions {
    private Integer id;
    private String name;
    private String openTime;
    private Integer ticketFare;
    private Integer ticketNumber;
    private String introduce;
    private Integer commentNumber;

    //定义无参构造器
    public Attractions() {
        super();
    }

    //定义有参构造器
    public Attractions(Integer id,String name,String openTime,Integer ticketFare,Integer ticketNumber,String introduce,Integer commentNumber){
        super();
        this.id = id;
        this.name = name;
        this.openTime = openTime;
        this.ticketFare = ticketFare;
        this.ticketNumber = ticketNumber;
        this.introduce = introduce;
        this.commentNumber = commentNumber;

    }

    //getter and setter

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOpenTime() {
        return openTime;
    }

    public void setOpenTime(String openTime) {
        this.openTime = openTime;
    }

    public Integer getTicketFare() {
        return ticketFare;
    }

    public void setTicketFare(Integer ticketFare) {
        this.ticketFare = ticketFare;
    }

    public Integer getTicketNumber() {
        return ticketNumber;
    }

    public void setTicketNumber(Integer ticketNumber) {
        this.ticketNumber = ticketNumber;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Integer getCommentNumber() {
        return commentNumber;
    }

    public void setCommentNumber(Integer commentNumber) {
        this.commentNumber = commentNumber;
    }
}
